use "$Data_generated/Commune.dta", clear
xtile tercile=Pasc, n(3)
xtile median=Pasc, n(2)

reghdfe nb_sectperm c.Pasc##i.post1926 c.asin_pop##i.post1926 1.above5##i.post1926 c.left19##i.post1926 c.asin_cath##i.post1926 c.asin_rep##i.post1926 i.median##i.post1926, a(cassini year) cluster(deppct)
outreg2 using"$Results/TableA1.tex", replace ctitle(All) adjr2 stats(coef tstat) tex(frag) keep(c.Pasc#1.post1926)
reghdfe nb_sectperm c.Pasc##i.post1926 c.asin_pop##i.post1926 1.above5##i.post1926 c.left19##i.post1926 c.asin_cath##i.post1926 c.asin_rep##i.post1926 i.tercile##i.post1926, a(cassini year) cluster(deppct)
outreg2 using"$Results/TableA1.tex", append ctitle(All) adjr2 stats(coef tstat) tex(frag) keep(c.Pasc#1.post1926)